package Linked;

public class Text {
    public static void main(String[] args) {
        List list = new List();
        list.addLast(1);
        list.addLast(1);
        list.addLast(2);
        list.addLast(4);
        list.addLast(4);
        for (Integer integer : list) {
            System.out.println(integer);
        }
        System.out.println("==================");
        list.removeRepeat(list);
        for (Integer integer : list) {
            System.out.println(integer);
        }
/*        List list1 = list.removeRepeatRecursion(list);
        for (Integer integer : list1) {
            System.out.println(integer);
        }*/


    }
}
